package com.alphasta.project.tool.swagger;



import com.alphasta.framework.web.controller.BaseController;
import com.alphasta.framework.web.domain.AjaxResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.*;

@CrossOrigin(origins = "*")
@Api(value = "测试接口列表", tags = { "测试接口" })
@RestController
@RequestMapping("/api-v1/courier/*")
public class TestController extends BaseController {
    @CrossOrigin(origins = "*")
    @ApiOperation(value = "测试")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "deviceId", value = "设备编号", required = true, dataType = "String", paramType = "query")}
            )
    @PostMapping("/getOneSuitableBoxDoor")
    public AjaxResult getOneSuitableBoxDoor(
            @RequestParam(value = "deviceId", required = true) String deviceId) {
           AjaxResult result = new AjaxResult();

        return error("测试");

    }

}
